package tech.aistar.entity;

import java.io.Serializable;

public class Picture implements Serializable {

    private Integer id;

    private String path;

    private Integer status;

    private Integer userinfoId;

    public Picture() {
    }

    public Picture(Integer id, String path, Integer status, Integer userinfoId) {
        this.id = id;
        this.path = path;
        this.status = status;
        this.userinfoId = userinfoId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getUserinfoId() {
        return userinfoId;
    }

    public void setUserinfoId(Integer userinfoId) {
        this.userinfoId = userinfoId;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Picture{");
        sb.append("id=").append(id);
        sb.append(", path='").append(path).append('\'');
        sb.append(", status=").append(status);
        sb.append(", userinfoId=").append(userinfoId);
        sb.append('}');
        return sb.toString();
    }
}